import request from '@/utils/request'

// 查询记录手册列表
export function listRegisterManual(query) {
  return request({
    url: '/business/registerManual/list',
    method: 'get',
    params: query
  })
}

// 查询记录手册所有列表
export function listAllRegisterManual(query) {
  return request({
    url: '/business/registerManual/listAll',
    method: 'get',
    params: query
  })
}

// 查询记录手册详细
export function getRegisterManual(id) {
  return request({
    url: '/business/registerManual/getInfo/' + id,
    method: 'get'
  })
}

// 新增记录手册
export function addRegisterManual(data) {
  return request({
    url: '/business/registerManual/add',
    method: 'post',
    data: data
  })
}

// 修改记录手册
export function updateRegisterManual(data) {
  return request({
    url: '/business/registerManual/edit',
    method: 'post',
    data: data
  })
}

// 删除记录手册
export function delRegisterManual(id) {
  return request({
    url: '/business/registerManual/remove/' + id,
    method: 'get'
  })
}
